<?php
/**
 * NetBiz Framework
 * Copyright (C) 20009 - 2010 NetBiz
 * 
 * All rights reserved.
 */
 
require_once 'Log.php';

/**
 * Base class for logger messages decorators
 */
class FRM_Log_Decorator {

	protected $_message = '';
	protected $_priority = 0;

	function __construct($m = '',$p = 0)
	{
		$this->_message = $m;
		$this->_priority = $p;
	}

	function __toString()
	{
		return Log::_extractMessage($this->_message);
	}
}